﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MVCTutorial.Core.Model;

namespace MVCTutorial.GUI.Web.ViewModels
{
	public class UserSkills
		: User
	{
		public int[] SkillIds 
		{
			get { return (from skill in Skills select skill.Id).ToArray(); }
		}

		public UserSkills(User user)
			: base(user.Name, user.Skills)
		{
			
		}
	}
}